home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / gnuchess&xboard < prev    next >
Encoding:
Text File  |  1995-04-11  |  35.9 KB  |  852 lines

  1. Archive-name: games/chess/gnu-faq
  2. Version: $Id: FAQ,v 1.16 1995/02/28 17:59:33 mann Exp $
  3. Posting-frequency: monthly
  4.  
  5. [1] What are the gnu.chess newsgroup and info-gnu-chess mailing list for?  How
  6.   do I subscribe or unsubscribe?
  7. [2] What is GNU Chess?
  8. [3] What is GNU Chess's rating?
  9. [4] What is XBoard?
  10. [5] Can I use XBoard to play a game of chess with another human?
  11. [6] What is XChess?
  12. [7] What is WinBoard?  Will WinBoard run on Windows 3.1?
  13. [8] What is cmail?
  14. [9] What is Winsock Chess?
  15. [10] Where can I get chess software?
  16. [11] What are the current version numbers for GNU Chess and XBoard?
  17. [12] Who is working on this project?  How do I report bugs, offer help, etc.?
  18. [13] Does GNU Chess run on a PC under DOS (or Windows)?
  19. [14] Does GNU Chess run on an Amiga?  Does XBoard run on an Amiga?
  20. [15] Does GNU Chess run on a Macintosh?
  21. [16] How do I build GNU Chess?  Do I have to have gcc?
  22. [17] How do I build XBoard?  Do I have to have gcc?
  23. [18] When I try to use GNU Chess with XBoard, it says "Error: first chess
  24.   program (gnuchessx) exited unexpectedly".
  25. [19] Sometimes GNU Chess plays an extra, bogus move after the game is over.
  26. [20] XBoard sometimes hangs when I'm using it to play against GNU Chess on a
  27.   position that I've modified with Edit Position.
  28. [21] GNU Chess often uses a little too much time and lets its flag fall
  29.   near the end of a time control period.
  30. [22] When I use GNU Chess with XBoard, it seems to freeze on me after
  31.   it gets out of its opening book.
  32. [23] When I use GNU Chess with XBoard, it sometimes tells me that moves
  33.   are illegal when they aren't.
  34. [24] GNU Chess crashes when I try to compile and run it on the DEC Alpha.
  35. [25] I get an error message about FIONREAD when trying to run (or build parts
  36.   of) gnuchess.
  37. [26] I can't build XBoard because xmkmf and imake are not present on my
  38.   system. 
  39. [27] I can't build XBoard because the "#include <X11/Xaw/...>" files are not
  40.   found.  (Often a problem for HP-UX users.)
  41. [28] When trying to build XBoard, I get error messages about undefined symbols.
  42. [29] How do I use XBoard as an external viewer for PGN files with NCSA Mosaic
  43.   or Netscape?
  44. [30] Does GNU Chess run on VMS?
  45. [31] Does XBoard run on VMS?
  46.  
  47. -----
  48. [1] What are the gnu.chess newsgroup and info-gnu-chess mailing list for?  How
  49.   do I subscribe or unsubscribe?
  50.  
  51. The gnu.chess newsgroup is for the discussion of GNU Chess, XBoard, and other
  52. related software.  It is not for general chess or computer chess discussion.
  53. You won't be flamed if you post such messages here, but you will find more
  54. information if you use rec.games.chess.  There is a rec.games.chess FAQ file
  55. with a great deal of general chess information; see topic [10] below.
  56.  
  57. The gnu.chess newsgroup is gatewayed bidirectionally with the mailing list
  58. info-gnu-chess@prep.ai.mit.edu.  If you want to be added to or deleted from
  59. this mailing list, send mail to info-gnu-chess-request@prep.ai.mit.edu, not to
  60. the list (or newsgroup) itself.
  61.  
  62. -----
  63. [2] What is GNU Chess?
  64.  
  65. GNU Chess is a chess-playing program developed as part of the GNU project of
  66. the Free Software Foundation (FSF).
  67.  
  68. GNU Chess is a communal chess program.  Contributors donate their time and
  69. effort in order to make it a stronger, better, sleeker program.  Contributions
  70. take many forms: interfaces to high-resolution displays, opening book
  71. treatises, speedups of the underlying algorithms, additions of extra
  72. heuristics.  These contributions are then distributed to the large user-base
  73. so that all may enjoy the fruits of our labor.
  74.  
  75. GNU Chess is intended to run under Unix or Unix-compatible systems.  It is
  76. written in C and should be portable to other systems.
  77.  
  78. -----
  79. [3] What is GNU Chess's rating?
  80.  
  81. GNU Chess does not play in tournaments, so strictly speaking, it does not have
  82. a rating.  In any case, its strength depends on how fast a machine you run it
  83. on and how much optimization your C compiler does.  Like all computer players,
  84. GNU Chess is strong tactically but relatively weak strategically.
  85.  
  86. Zippy, a copy of GNU Chess 4.0 running on a fast DEC Alpha AXP 3000/600
  87. workstation, has achieved a blitz rating of over 2200 on the Internet Chess
  88. Server.  ICS ratings are roughly comparable to USCF and FIDE ratings, but many
  89. players have ICS ratings that are hundreds of points higher or lower than
  90. their USCF or FIDE ratings.
  91.  
  92. Several other versions of GNU Chess with various modifications also play on
  93. ICS.  The gnufour player runs experimental, unreleased versions of gnuchess to
  94. help evaluate prospective changes, so its rating often suffers due to bugs or
  95. ideas that don't pan out.
  96.  
  97. -----
  98. [4] What is XBoard?
  99.  
  100. XBoard is a graphical chessboard that can serve as a user interface for GNU
  101. Chess, for the Internet Chess Server, or for email correspondence chess, or
  102. can be used by itself.
  103.  
  104. As an interface to GNU Chess, XBoard lets you play a game against the machine,
  105. set up arbitrary positions, force variations, or watch a game between two
  106. machines.
  107.  
  108. As an interface to the Internet Chess Server, XBoard lets you play against
  109. other ICS users, observe games they are playing, or review games that have
  110. recently finished.  You don't need GNU Chess for this.
  111.  
  112. To play email correspondence chess with XBoard, you use it with the cmail
  113. program.  See topic [8] below.
  114.  
  115. You can also use XBoard as a chessboard to play through games.  It will read
  116. and write game files and allow you to play through variations manually.  You
  117. can use it to browse games off the net, or to review GNU Chess, ICS, and email
  118. correspondence games you have saved.  It saves games in PGN (portable game
  119. notation), and can read almost any game in algebraic notation.  These features
  120. are available at all times, even if you do not have access to GNU Chess or the
  121. ICS.
  122.  
  123. XBoard runs under Unix or Unix-compatible systems.  It requires the X Window
  124. System, version X11R4 or later.  There are also ports of XBoard to Microsoft
  125. Win32 (that is, Windows NT or Windows 95) and to the Amiga.  See topics [7]
  126. and [14] respectively.
  127.  
  128. -----
  129. [5] Can I use XBoard to play a game of chess with another human?
  130.  
  131. The only way for two humans on different machines to play chess in real time
  132. using XBoard is to use the Internet Chess Server as an intermediary.  That is,
  133. each player runs his own copy of XBoard, both of them log into the ICS, and
  134. they play a game there.  Two copies of XBoard cannot communicate with each
  135. other directly.
  136.  
  137. Instructions on how to get started with the ICS are included with the XBoard
  138. distribution.  The ICS moves from time to time, so the addresses included in
  139. the XBoard distribution may not always be current.  At this writing, the main
  140. North American ICS is at chess.lm.com.  The European and Australian ICS sites
  141. are anemone.daimi.aau.dk, dds.hacktic.nl, and lux.latrobe.edu.au.  There are
  142. also several backup sites.  There is a FICS site at chess.pitt.edu.  On all
  143. these machines, the port number to use is 5000.  Try "finger
  144. chess@ics.onenet.net" or "finger tange@daimi.aau.dk" for more address
  145. information.
  146.  
  147. Note: If you don't have network connectivity to any ICS site, you can contact
  148. Daniel Sleator <sleator@cs.cmu.edu> for information on running your own copy
  149. of his ICS implementation, or contact Richard Nash <nash@visus.com> for
  150. information on his alternative implementation, FICS.
  151.  
  152. The cmail program included with XBoard lets you play email postal games with
  153. another human; see topic [8].
  154.  
  155. Two humans can play chess on the same machine using one copy of XBoard in
  156. Edit Game mode, but the clocks don't run in this mode, so it's of limited
  157. usefulness.
  158.  
  159. See also topic [9].
  160.  
  161. -----
  162. [6] What is XChess?
  163.  
  164. XChess is an older chessboard program that is no longer supported.  XChess was
  165. written for X version 10, and you may or may not be able to build and run it
  166. on an X11 system.
  167.  
  168. XChess has only one significant feature that is not present in XBoard: Two
  169. humans can play chess using XChess on different machines, without using the
  170. Internet Chess Server as an intermediary.  This feature is of interest only if
  171. you don't have network connectivity to the Internet Chess Server.
  172.  
  173. Note: There actually have been several different programs called "XChess" in
  174. circulation at various times.  The above describes one that was associated
  175. with GNU Chess.
  176.  
  177. -----
  178. [7] What is WinBoard?  Will WinBoard run on Windows 3.1?
  179.  
  180. WinBoard is a port of XBoard to Microsoft Windows NT and Microsoft Windows 95
  181. (Chicago) using the Win32 API.  It uses the same back end chess code as
  182. XBoard, but the front end graphics code is a complete rewrite.
  183.  
  184. WinBoard does *not* run on Windows 3.1 or other MS-DOS based versions of
  185. Windows.  Although you can use the program as a PGN viewer/editor under the
  186. Win32s compatibility package, the major features (interfacing to GNU Chess and
  187. to the ICS) do not work.  The main problem is that MS-DOS does not have
  188. threads or real concurrent processes.  A port of WinBoard to Windows 3.1 is
  189. possible in theory, but it would be difficult and messy, and no one is likely
  190. to do it.
  191.  
  192. WinBoard 3.2 generally runs well on Windows 95 Beta 2, and it should work even
  193. better after Microsoft has fixed some of the bugs in the beta.  All versions
  194. of WinBoard run on Windows NT.
  195.  
  196. Note: At this writing, GNU Chess itself has not been ported to Win32.  The DOS
  197. and Windows versions of GNU Chess listed in topic [13] will probably run under
  198. Windows 95 and Windows NT, but they will not interface to WinBoard.  WinBoard
  199. does work with GNU Chess if you run GNU Chess remotely on a Unix machine
  200. (using the -fh and -sh options on WinBoard).  cmail (topic [8]) has not been
  201. ported to Win32 either.
  202.  
  203. -----
  204. [8] What is cmail?
  205.  
  206. cmail is a program that helps you play and keep track of electronic mail
  207. correspondence chess games using XBoard.  It is distributed with XBoard and
  208. has its own manual page.
  209.  
  210. Here is a patch that fixes a cmail bug in the current version of XBoard (3.2
  211. patchlevel 0):
  212.  
  213. *** BAK/backend.c    Thu Jan 26 18:01:23 1995
  214. --- backend.c    Thu Jan 26 18:47:53 1995
  215. ***************
  216. *** 3079,3085 ****
  217.         case WhiteWins:
  218.         case BlackWins:
  219.         case GameIsDrawn:
  220. !         if (cmailMsgLoaded) {
  221.           if (   cmailResult[CMAIL_MAX_GAMES - gameNumber - 1]
  222.               != CMAIL_OLD_RESULT) {
  223.               nCmailResults ++ ;
  224. --- 3079,3085 ----
  225.         case WhiteWins:
  226.         case BlackWins:
  227.         case GameIsDrawn:
  228. !         if (cmailMsgLoaded && (CMAIL_MAX_GAMES == lastLoadGameNumber)) {
  229.           if (   cmailResult[CMAIL_MAX_GAMES - gameNumber - 1]
  230.               != CMAIL_OLD_RESULT) {
  231.               nCmailResults ++ ;
  232.  
  233. -----
  234. [9] What is Winsock Chess?
  235.  
  236. Winsock Chess is a program that lets two people play chess across a network.
  237. It runs only under Microsoft Windows.  Some of the code in Winsock Chess is
  238. derived from GNU Chess, but it is not maintained by the GNU Chess team.  You
  239. can get a copy from the Internet Chess Library; see topic [10].  For more
  240. information, contact its author, Donald Munro <ccahdm@beluga.upe.ac.za>.
  241.  
  242. -----
  243. [10] Where can I get chess software? 
  244.  
  245. Like other GNU software, you can get GNU Chess and XBoard by anonymous FTP
  246. from prep.ai.mit.edu and its many mirror sites.  Look in the directory pub/gnu
  247. for files matching the patterns gnuchess-*.gz and xboard-*.gz.  The .gz suffix
  248. indicates the files were compressed with GNU gzip.  You can get gzip from
  249. prep.ai.mit.edu also.
  250.  
  251. For other chess software, try the Internet Chess Library.  Use anonymous FTP
  252. to connect to ics.onenet.net, or if you have a World Wide Web browser, open
  253. URL ftp://ics.onenet.net/pub/chess/HTML/homepage.html.  You can get chess
  254. software, game collections, the FAQ file for rec.games.chess, and other
  255. chess-related material there, in the directory pub/chess.  Sometimes new
  256. XBoard versions arrive on this site before they make it to prep.  The FTP
  257. server can automatically decompress files for you as you download them, useful
  258. if you don't have gzip.
  259.  
  260. You can get WinBoard from the Internet Chess Library, in directory
  261. pub/chess/Win3.
  262.  
  263. Here is a sample anonymous ftp session.  Some of the ftp server's responses
  264. are abbreviated, but all the commands you must type are included.
  265.  
  266. % ftp prep.ai.mit.edu
  267. Connected to prep.ai.mit.edu
  268. Name: anonymous
  269. Password: your-email-address@your-site
  270. ftp> binary
  271. 200 Type set to I.
  272. ftp> cd /pub/gnu
  273. 250 CWD command successful.
  274. ftp> dir gnuchess-*.gz
  275. -rw-r--r--  1 14910    wheel     1448657 Feb 21 22:17 gnuchess-4.0.pl74.tar.gz
  276. ftp> get gnuchess-4.0.pl74.tar.gz
  277. 150 Opening BINARY mode data connection for gnuchess-4.0.pl74.tar.gz (1448657 bytes).
  278. 226 Transfer complete.
  279. ftp> dir xboard-*.gz
  280. -rw-r--r--  1 14910    wheel      254696 Dec 10 20:53 xboard-3.2.pl0.tar.gz
  281. ftp> get xboard-3.2.pl0.tar.gz
  282. 150 Opening BINARY mode data connection for xboard-3.2.pl0.tar.gz (254696 bytes).
  283. 226 Transfer complete.
  284. ftp> quit
  285.  
  286. -----
  287. [11] What are the current version numbers for GNU Chess and XBoard?
  288.  
  289. At this writing, the current version numbers are:
  290.  
  291. - GNU Chess 4.0 patchlevel 74 (as updated Feb 21, 1995)
  292. - XBoard 3.2 patchlevel 0
  293. - WinBoard 3.2 patchlevel 1
  294. - Amiga XBoard 3.2 patchlevel 0beta
  295.  
  296. Note that GNU Chess 4.0 patchlevel 74 was updated on Feb 21, 1995.  You can
  297. recognize the updated version because the .gz file is 1448657 bytes long.  The
  298. first version of patchlevel 74 was 1455418 bytes long.
  299.  
  300. -----
  301. [12] Who is working on this project?  How do I report bugs, offer help, etc.?
  302.  
  303. Stuart Cracraft is the project coordinator.  Mike McGann is the main developer
  304. on GNU Chess 4.0.  Tim Mann has been the main developer on XBoard, but he is
  305. winding down his involvement and would like to find a replacement.
  306.  
  307. You can contact all the members of the project by sending mail to
  308. bug-gnu-chess@prep.ai.mit.edu.  Comments that are of interest to all users of
  309. the software can be sent to info-gnu-chess@prep.ai.mit.edu, or posted to the
  310. gnu.chess newsgroup.  (The mailing list and newsgroup forward to each other.)
  311.  
  312. Any time you want to report a possible bug in GNU Chess or XBoard, we need to
  313. know exactly what you did, and exactly what error (or other) messages you got.
  314. Run the Unix "script" program, do whatever is necessary to reproduce the
  315. problem, type "exit" to the shell, and mail us the resulting typescript file.
  316. If you're using XBoard, run it with the -debug flag.  We also need to know
  317. what hardware/operating system combination you are using.  The command "uname
  318. -a" will often tell you this.
  319.  
  320. -----
  321. [13] Does GNU Chess run on a PC under DOS (or Windows, or OS/2)?
  322.  
  323. Several different ports of GNU Chess to the PC are available in the Internet
  324. Chess Library (topic [10]), scattered among the directories /pub/chess/DOS,
  325. /pub/chess/DOS/OLD-STUFF, and /pub/chess/Win3.  Here is some information on
  326. them, but check the library itself for more up-to-date information.
  327.  
  328. Porting GNU software to PCs is not a major focus of the GNU project, and these
  329. ports are not supported by the FSF.  Contact the people who did the ports if
  330. you have questions or problems.
  331.  
  332. MSDOS:
  333.     gnu40-62.exe     1323260  Probably GNU Chess 4.0.pl62 for MSDOS
  334.     gnu40dos.exe T    317072  GNU Chess 4.0pl60 by Free Software Foundation
  335.                            -  compiled for DOS, executables only
  336.     gnu40src.exe      307786  GNU Chess 4.0pl60 by Free Software Foundation
  337.                            -  sources only
  338.     gnuchs31.exe T    270559  GNU Chess 3.1 by Free Software Foundation
  339.                            -  compiled for DOS, sources and executables
  340.     gnuchs40.exe T    355494  GNU Chess 4.0pl60 by Free Software Foundation
  341.                            -  compiled for 80386er, executables only
  342.  
  343. Windows:
  344.     chess321.exe W  M 238185  GNU Chess 3.21 ported by Daryl K. Baker
  345.  
  346. OS/2:
  347.     gpl65os2.zip      677824  gnuchess-4.0.pl65 compiled for os2.
  348.     gc-os2-m.zip      578032  gnuchess 4.0 for os2 with mouse support.
  349.     gnu40os2.zip     1303602  Executables for running gnuchess 4.0 pl62 under
  350.                -  OS/2. 
  351.     pmchs.exe    W  M  92004  OS/2 PM Chess 1.01 (GNU Chess 3.1 Windows by
  352.                            -  Daryl K. Baker) ported to OS/2 by Kent Cedola
  353.     pmchssrc.exe      110279  OS/2 PM Chess 1.01 (GNU Chess 3.1 Windows by
  354.                            -  Daryl K. Baker) sources only
  355.  
  356. -----
  357. [14] Does GNU Chess run on an Amiga?  Does XBoard run on an Amiga?
  358.  
  359. There are at least two ports of GNU Chess to the Amiga.  UChess is newer than
  360. AmigaGnuChess.  Both are available in the Internet Chess Library (topic [10]),
  361. in the directory /pub/chess/Amiga.  As with the PC ports, they are not
  362. supported by the FSF; contact the people who did the ports if you have
  363. problems or questions.
  364.  
  365. -r--r--r--  1 chess    chess      204025 Mar 31  1993 AmigaGnuChess.lha
  366. -r--r--r--  1 chess    chess       10122 Mar 31  1993 AmigaGnuChess.readme
  367.  
  368. -r--r--r--  1 chess    chess      705327 May  7 10:28 UChess283.lha
  369. -r--r--r--  1 chess    chess       21478 May  7 10:26 UChess283.readme
  370. -r--r--r--  1 chess    chess      199387 May  7 10:27 UChess283Patch.lha
  371. -r--r--r--  1 chess    chess       21589 May  7 10:26 UChess283Patch.readme
  372.  
  373. A port of XBoard to the Amiga by Jochen Wiedmann is now in beta test!  Jochen
  374. writes: 
  375.  
  376. 1.) ... XBoard 3.2.pl0 (the latest version) is now available for the 
  377. Amiga as a first beta release.
  378.  
  379. 2.) Requirements
  380.  
  381. - An Amiga (obviously :-), running OS 2.04 or later, 2Mb RAM or more
  382. - MUI 2.0 or later
  383. - Workbench or another screen with no less than 640x400 pixels (adjustable
  384.   with the MUI-Prefs); this restriction is just, because I don't have
  385.   bitmaps with less than 40x40 pixels per square. If someone gives me
  386.   bitmaps with 20x20 or 20x25, they will work with any Hires mode.
  387.  
  388. If you would like to use the ICS, you need an Internet connection via
  389. either
  390. - a telnet-like program or
  391. - a terminal program reading from stdin and writing to stdout
  392.  
  393. 3.) How to get it
  394.  
  395. The one and only way to get the current release is ftp to
  396. linus.zdv.uni-tuebingen.de, directory incoming/Amiga. You should find
  397. two archives `xboard-3.2.pl0betaxbin.lha' and `xboard-3.2.pl0betaxsrc.lha',
  398. where `x' is the number of the latest beta release.
  399.  
  400. Please drop me a mail with your email address, so that I can tell
  401. you about future bug fixes. (I really expect some of them, as I
  402. even don't have Enforcer on my A1200.) My address is:
  403.  
  404.     wiedmann@zdv.uni-tuebingen.de
  405.  
  406. A preliminary version of GNU chess without opening book is included, this
  407. will soon be available in a separate release as soon as I find the time to
  408. do a full port including a curses based version of GNU chess.
  409.  
  410. 4.) Installation
  411.  
  412. Easy, just unpack the archive (everything will be in one subdirectory
  413. xboard-3.2.pl0) and edit the preferences file
  414.  
  415.     xboard-3.2.pl0/lib/xboard.prefs
  416.  
  417. with your favorite text editor. Things you might wish to change are
  418.  
  419. - the colors; this is done by changing the pen numbers "whitePiecePen",
  420.   "blackPiecePen", "lightSquarePen", "darkSquarePen". Default is to
  421.   use MUI's shinepen, shadowpen, halfshinepen and halfshadowpen,
  422.   respectively, thus you might as well do this with the MUI prefs.
  423.  
  424. - The memory requirements of GNU chess (more memory improves its
  425.   strength) and the path to the GNU chess program.
  426.  
  427. - The default time settings of GNU chess: Variables movesPerSession
  428.   and timeControl.
  429.  
  430. - The name of your favourite ICS host and its port number
  431.  
  432. - The name of your telnet program; this *must* read from stdin and
  433.   write to stdout. You might well use a telnet fake, for example a
  434.   terminal program using stdin/stdout.
  435.  
  436. - The name of a script to execute from telnet to login into the
  437.   ICS host. Any line of this script will be fed as input to the
  438.   telnet program before control is left to you. A typical .ircrc
  439.   might look like this (Just the words on the left side, of course.):
  440.  
  441.             <-- Empty line, see below
  442.     JochenW     <-- Login name
  443.     MyPassword    <-- Password for registered users
  444.     who        <-- First command to execute
  445.  
  446.   Note, that it might be needed to hit return first or enter an empty
  447.   line into .ircrc, because of a problem with AmiTCP/IP's telnet.
  448.   (I don't know, if it is my fault or telnet's, if anyone using
  449.   AS225 reports the same problem I'll go track it down. For now I
  450.   assume it is telnet's problem.)
  451.  
  452. - The window specifications of the text window to be opened for
  453.   ICS, when running from the workbench. This is probably better
  454.   be done as an icon tooltype, as this allows to use the shell
  455.   window when running from CLI. (I think its a matter of taste,
  456.   what you prefer.)
  457.  
  458.   Note, that for the same problem with telnet it might be needed
  459.   to hit return in the ICS window, if XBoard finishs, because the
  460.   ICS window won't be closed otherwise.
  461.  
  462. Using the MUI prefs you can adjust the chessboards size. (Note, that
  463. this automatically increases or decreases its size with the window.)
  464.  
  465. 5.) How to start
  466.  
  467. A set of icons is provided that allow to start the program from
  468. the Workbench. From CLI type
  469.  
  470.     xboard [options]
  471.  
  472. to play against GNU chess,
  473.  
  474.     xboard ics [icshost <hostname>] [icsport <portnumber>] [options]
  475. or
  476.     xboard ncp [options]
  477.  
  478. for just entering XBoard. This may, for example, be used as a PGN file
  479. editor.
  480.  
  481. For a number of possible options see the prefs file. Note, that any
  482. option may be defined by either CLI, Icon tooltype or a line in the
  483. prefs file. (The former override the prefs file which in turn overrides
  484. the programs builtin defaults.)
  485.  
  486. 6.) What you might help
  487.  
  488. - Test it
  489. - Create a better icon than mine (I am definitely no gfx wizard.)
  490. - Create other or better bitmaps; especially 20x20 and 25x25 (per chess
  491.   square) bitmaps would highly be appreciated, as this would allow to
  492.   run the program on a usual highres screen.
  493. - Convert the cmail script (which is written in perl) to ARexx.
  494. - Enjoy :-)
  495.  
  496. 7.) Distribution
  497.  
  498. XBoard is
  499.  
  500.     Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts
  501.     (Original version)
  502.     Copyright 1992-94 Free Software Foundation, Inc.
  503.     (Enhancements since version 2.0)
  504.     Copyright 1995 Jochen Wiedmann
  505.     (Amiga version)
  506.  
  507. Thus it is somewhat difficult to say what's allowed or not, but you may,
  508. in general use, copy, modify and distribute this software and its
  509. documentation for any purpose and without fee. Please see the files
  510. COPYRIGHT and COPYING included with the distribution for details.
  511.  
  512. -----
  513. [15] Does GNU Chess run on a Macintosh?
  514.  
  515. The following files are available in the Internet Chess Library (topic [10]),
  516. in the directory /pub/chess/Macintosh.  The 3.0 version is said to be very
  517. buggy---GNU Chess has come a long way since version 3.0.  So try the 4.0
  518. version, listed first below.
  519.  
  520. As with the PC ports, Macintosh ports are not supported by the Free Software
  521. Foundation.  Contact the people who did the ports if you have problems or
  522. questions.
  523.  
  524. -r--r--r--   1 1000     informix   222032 Jan  4 18:59 GnuChessMac40b4.hqx
  525. -r--r--r--   1 1000     informix   205315 Nov 12  1992 gnu-chess.hqx
  526. -r--r--r--   1 1000     informix   187207 Feb 20  1993 gnuchess3.0.cpt.hqx
  527.  
  528. -----
  529. [16] How do I build GNU Chess?  Do I need gcc?
  530.  
  531. The first step to building GNU Chess is to get the distribution file and
  532. unpack it.  See topic [10] for places you can ftp the distribution from.
  533.  
  534. To unpack the gnuchess distribution, gnuchess-*.tar.gz, put it into a new,
  535. empty directory, cd there, and give this Unix command:
  536.  
  537.     gunzip < gnuchess-*.tar.gz | tar -xvf -
  538.  
  539. If this command fails because you don't have gunzip, see topic [10], and ask a
  540. local Unix expert if you need more help.
  541.  
  542. The above command will unpack all the files into a new directory.  Next, cd
  543. into this new directory.  You will find some instructions in a file named
  544. INSTALL.  You will also need to read and edit the Makefile in the src
  545. subdirectory before you build; it may contain information missing from the
  546. INSTALL file.  
  547.  
  548. You must run all three of the following commands to fully build GNU Chess:
  549.  
  550.     make
  551.     make gnuchess.data
  552.     make install
  553.  
  554. The first make command compiles the GNU Chess programs.  (You can edit the
  555. "all:" line in the Makefile if you don't want to build all the programs.
  556. gnuchessr must always be built.  gnuchessx is required if you will be using
  557. XBoard.  The others are optional.)  The "make gnuchess.data" command builds
  558. the book.  The "make install" command copies the results to the BINDIR and
  559. LIBDIR you specified so that the different pieces can find each other.
  560.  
  561. You don't need to have gcc to build GNU Chess.  However, GNU Chess is written
  562. in ANSI C.  If you have only an old K&R C compiler, be sure you have the
  563. current patchlevel of GNU Chess (the updated patchlevel 74, not the original
  564. patchlevel 74 and not something earlier), and get "unproto" by:
  565.  
  566.     Wietse Venema
  567.         wietse@wzv.win.tue.nl
  568.         Mathematics and Computing Science
  569.         Eindhoven University of Technology
  570.         The Netherlands
  571.  
  572. It was released in comp.sources.misc Vol 27 with patches in vol 28 and
  573. vol 38.  Among other places, it can be found on unix.hensa.ac.uk in
  574. pub/uunet/usenet/comp.sources.misc/volume27/unproto.
  575.  
  576. Compile it and copy the cpp it produces into the gnuchess src directory.
  577.  
  578. -----
  579. [17] How do I build XBoard?  Do I need gcc?
  580.  
  581. The first step to building XBoard is to get the distribution file.  See topic
  582. [10] for places you can ftp the software from.
  583.  
  584. To unpack and build the xboard distribution, xboard-*.tar.gz, give these Unix
  585. commands:
  586.  
  587.     gunzip < xboard-*.tar.gz | tar -xvf -
  588.     cd xboard-*/
  589.     configure
  590.     make
  591.  
  592. If the first step above fails because you don't have gunzip, see topic [10],
  593. and ask a local Unix expert if you need more help.  If you have any problems
  594. with the last two steps, read the READ_ME and INSTALL files in the xboard-*/
  595. directory.  You will also find this FAQ there.
  596.  
  597. You don't need to have gcc to build XBoard, and your C compiler doesn't have
  598. to be ANSI-compliant.
  599.  
  600. -----
  601. [18] When I try to use GNU Chess with XBoard, it says "Error: first chess
  602.   program (gnuchessx) exited unexpectedly".
  603.  
  604. Try running XBoard again with the "-debug" flag on the command line.  This
  605. will print out all the messages received from GNU Chess.  
  606.  
  607. If you see this problem as soon as GNU Chess starts up, most likely GNU Chess
  608. is exiting with an error message.  If you see the message "NO LANGFILE", it
  609. means that you did not install GNU Chess correctly, and it is unable to find
  610. the file gnuchess.lang.  Make sure that you defined LIBDIR in the gnuchess
  611. Makefile, and that gnuchess.lang is in that directory.  If gnuchess.lang is
  612. not there, you probably didn't type "make install" in the gnuchess src
  613. directory; you must do this to install gnuchess.lang (and the gnuchess book).
  614. If you defined LIBDIR to something that is not an absolute pathname (that is,
  615. to something that does not start with a "/"), GNU Chess will work only if you
  616. run it from the GNU Chess "src" directory where you built it.
  617.  
  618. If the problem happens while GNU Chess is running, you may have hit a GNU
  619. Chess bug.  There was a bug in 4.0 pl72 that would corrupt the stack and cause
  620. the program to exit, sometimes with a nonsensical message first, sometimes
  621. with no message.  It was especially evident on Linux.  There is some evidence
  622. that this bug is not yet fixed but just happens less often.  If you can help
  623. gather evidence to track this problem down, please let us know.  A test case
  624. that can be reproduced would be especially welcome.
  625.  
  626. -----
  627. [19] Sometimes GNU Chess plays an extra, bogus move after the game is over.
  628.  
  629. There have been bugs in some versions of GNU Chess that caused this symptom.
  630. We believe they are all fixed in 4.0 pl74.
  631.  
  632. -----
  633. [20] XBoard sometimes hangs when I'm using it to play against GNU Chess on a
  634.   position that I've modified with Edit Position.
  635.  
  636. You need to get the latest version of GNU Chess.  A few recent versions of GNU
  637. Chess contained a subtle change to the behavior of the "new" command that made
  638. them incompatible with previous versions and with XBoard.  There is no way to
  639. restore compatibility by changing XBoard, so instead, GNU Chess has been
  640. changed back.  See topic [11].
  641.  
  642. -----
  643. [21] GNU Chess often uses a little too much time and lets its flag fall
  644.   near the end of a time control period.
  645.  
  646. GNU Chess is known to be a bit too aggressive in using its clock time and
  647. sometimes lets its flag fall.  Some bugs that caused this symptom have been
  648. fixed, but more work on the problem may be needed.
  649.  
  650. -----
  651. [22] When I use GNU Chess with XBoard, it seems to freeze on me after
  652.   it gets out of its opening book.
  653.  
  654. First, be sure you have the latest versions of GNU Chess and XBoard; see topic
  655. [11] above.  If you do, and you still have this problem, check the following.
  656.  
  657. a) Perhaps the feature in GNU Chess that lets you stop it thinking on your
  658. time by just entering your move is not working.  This feature relies on the
  659. FIONREAD ioctl, which seems to be broken on some versions of Unix.  XBoard
  660. uses this feature if the flag -DATTENTION is not present on the DEFINES line
  661. of the XBoard Makefile.  XBoard 3.1 and later are distributed with this flag
  662. already set, so you should not have a problem unless you have removed it.
  663.  
  664. b) You might have built your GNU Chess with the wrong -D options.  With some
  665. versions of GNU Chess, this can cause GNU Chess and XBoard to disagree about
  666. what units time is measured in, causing GNU Chess to think for 100 times as
  667. long as it should.  Look at your GNU Chess Makefile and check that the line of
  668. options marked "normal", not the line marked "gnufour ICS client", is
  669. uncommented, something like this:
  670.  
  671. # gnufour ICS client
  672. #
  673. #OPT= -DUSEINT -DCACHE -DCLIENT -DGDX -DHASGETTIMEOFDAY -DNULLMOVE -DQUIETBACKGROUND -DBAREBONES -DWAY4PL64 -DHISTORY -DAGING 
  674. # normal
  675. OPT= -DUSEINT -DCACHE -DGDX -DHASGETTIMEOFDAY -DNULLMOVE -DQUIETBACKGROUND -DSEMIQUIETBOOKGEN -DWAY4PL64 -DHISTORY -DHASHSTATS -DAGING 
  676.  
  677. c) You might have a persistent transposition table (hashfile) that has been
  678. corrupted.  Look in the LIBDIR directory you defined in the GNU Chess
  679. Makefile, and if you find a file named gnuchess.hash there, remove it.  Do not
  680. use the hashfile if you are running multiple copies of GNU Chess at the same
  681. time (for instance, with Two Machines mode in XBoard).
  682.  
  683. -----
  684. [23] When I use GNU Chess with XBoard, it sometimes tells me that moves
  685.   are illegal when they aren't.
  686.  
  687. a) First, be sure you have the latest versions of GNU Chess and XBoard; see
  688. topic [11] above.  Several different bugs that could cause this symptom
  689. existed in old versions but have been fixed in the latest ones.
  690.  
  691. b) Another possibility is that you have a persistent transposition table
  692. (hashfile) that has been corrupted.  Look in the LIBDIR directory you defined
  693. in the GNU Chess Makefile, and if you find a file named gnuchess.hash there,
  694. remove it.  Do not use the hashfile if you are running multiple copies of GNU
  695. Chess at the same time (for instance, with Two Machines mode in XBoard).
  696.  
  697. -----
  698. [24] GNU Chess crashes when I try to compile and run it on the DEC Alpha.
  699.  
  700. Get the latest version of GNU Chess.  Some bugs that showed up only on the
  701. Alpha are fixed in version 4.0 patchlevel 73 and later.  If you still have
  702. problems, try compiling with the -migrate flag or the -O1 flag.  Some versions
  703. of the Alpha C compiler have optimizer bugs that affect GNU Chess.
  704.  
  705. -----
  706. [25] I get an error message about FIONREAD when trying to run (or build parts
  707.   of) gnuchess.
  708.  
  709. The message looks something like this:
  710.  
  711. > FIONREAD: Operation not supported on socket
  712. > You probably have a non-ANSI <ioctl.h>; see README. -1 45 4004787f
  713.  
  714. If you are using gcc to compile, the solution to this error message is usually
  715. to go to the GNU Chess Makefile, find the line that starts "CFLAGS=" (with no
  716. # character in front of it), and append the flag "-traditional-cpp" to the end
  717. of the line.  Then do
  718.  
  719.     rm dspcom*.o gnuan.o
  720.     make
  721.     make install
  722.  
  723. to rebuild gnuchess.
  724.  
  725. If you aren't using gcc, we don't really understand why this should happen,
  726. but we do have a brute-force workaround: You can simply disable the gnuchess
  727. feature that uses FIONREAD.  Find all the places in dspcom.c (and gnuan.c)
  728. where the line "#ifdef FIONREAD" occurs.  Change each of them to "#ifdef
  729. NOTDEF".  Then recompile gnuchess.
  730.  
  731. With this code disabled, if you tell gnuchess to think on your time ("hard"
  732. mode), you will have to type ^C to make it stop thinking when you want to make
  733. your move.  The current version of XBoard does this automatically, so
  734. disabling the code has no effect on XBoard.
  735.  
  736. -----
  737. [26] I can't build XBoard because xmkmf and imake are not present on my
  738.   system. 
  739.  
  740. This one is easy now.  Beginning with XBoard 3.2, xmkmf and imake are no
  741. longer required.
  742.  
  743. -----
  744. [27] I can't build XBoard because the "#include <X11/Xaw/...>" files are not
  745.   found.  (Often a problem for HP-UX users.)
  746.  
  747. These are the header files for the Athena Widgets library, which XBoard uses
  748. heavily.  Some versions of Unix don't supply these files, but they are part of
  749. the standard X distribution, freely available from MIT.  
  750.  
  751. For general information on getting missing X sources, see the FAQ on
  752. comp.windows.x.  Note that you may be missing only the header files, or you
  753. may be missing the libraries themselves too.
  754.  
  755. HP-UX users are missing only the header files.  You can get them by anonymous
  756. FTP as follows.  (But first check with your system administrator to see if
  757. someone else at your site has already done this.)  Get the archive files
  758. /hpux9/X11R5/Core/imake-5.04.tar.gz (imake and xmkmf, optional but useful) and
  759. /hpux9/X11R5/Core/Xaw-5.00.tar.gz (Xaw header files) via anonymous FTP from
  760. the site hpux.csc.liv.ac.uk (138.253.42.172), or one of the other official
  761. sites---Germany: hpux.ask.uni-karlsruhe.de (129.13.200.57), US:
  762. hpux.cae.wisc.edu (144.92.4.15), France: hpux.cict.fr (192.70.79.53) or
  763. Netherlands: hpux.ced.tudelft.nl (130.161.140.100). Unpack the archives using
  764. gunzip and follow the instructions in their README and HPUX.Install files.
  765. Thanks to Richard Lloyd for this information.
  766.  
  767. If you have the Xaw header files installed in a different place than the other
  768. X11 headers, you may need to configure XBoard 3.2 with an extra flag to help
  769. it find them.  For example, if yours are in /foo/bar/X11/Xaw, try this:
  770.  
  771.   rm config.cache
  772.   (setenv CFLAGS -I/foo/bar ; configure)
  773.  
  774. Also see topic [28].
  775.  
  776. -----
  777. [28] When trying to build XBoard, I get error messages about undefined symbols.
  778.  
  779. The configure script for XBoard 3.2 looks for X libraries and header files in
  780. some common places.  Sometimes it fails: If yours are installed in a strange
  781. place, it may not find them at all.  If you have more than one version of X
  782. installed on your system, it may find the "wrong" one, or occasionally it may
  783. find libraries from one version and incompatible header files from another.
  784. You can work around these problems by telling the configure script where the
  785. files are.  For example:
  786.  
  787.   configure -x-includes=/strange/place/include -x-libraries=/strange/place/lib
  788.  
  789. The directory named in the argument to -x-includes must have a subdirectory
  790. "X11" that contains the actual .h files.
  791.  
  792. Some linkers have bugs that cause bogus error messages when you try to link X
  793. programs.  The configure script includes a workaround for a bug of this kind
  794. that exists in some SunOS 4.x.x installations.  See the FAQ on comp.windows.x
  795. for more information about problems of this kind.
  796.  
  797. If all else fails, check whether anyone else at your site has been able to
  798. compile any X programs on your system.  Your X installation might be buggy.
  799. If so, the system administrator at your site might know how to fix or work
  800. around the problem.
  801.  
  802. Also see topic [27].
  803.  
  804. -----
  805. [29] How do I use XBoard as an external viewer for PGN files with NCSA Mosaic
  806.   or Netscape?
  807.  
  808. 1) Add the following line to the file .mime.types in your home directory.
  809. (Create the file if it doesn't exist already.)
  810.  
  811. application/x-chess-pgn    pgn
  812.  
  813. 2) Add the following line to the file .mailcap in your home directory.
  814. (Create the file if it doesn't exist already.)
  815.  
  816. application/x-chess-pgn; xboard -ncp -lgf %s
  817.  
  818. 3) Exit from Mosiac and restart it.  To confirm that XBoard is working as an
  819. external viewer, open the following URL, click on "Kasparov, Gary Kimovich",
  820. and then click on any of the game names shown.
  821.  
  822. http://www.traveller.com/scripts/chess_players?Kasparov
  823.  
  824. For some reason that we don't quite understand, games under the above URL
  825. don't cause XBoard to be started when you are using Netscape; they work only
  826. with NCSA Mosaic.  Games under the following URL work with both.
  827.  
  828. http://www.ub.uit.no/chess/pgn/gamelist.html
  829.  
  830. -----
  831. [30] Does GNU Chess run on VMS?
  832.  
  833. An old VAX VMS version is available at ada.cenaath.cena.dgac.fr in the [.VMS]
  834. directory:
  835.  
  836. Directory CENA10:[ANONYMOUS.VMS]
  837.  
  838. GNUCHESS.ZIP;1                     307  21-MAR-1994 18:42:05.13
  839.  
  840. It's only a character cell version for VT100, VT200, etc. terminals.
  841.  
  842. [Thanks to Patrick Moreau for this information.]
  843.  
  844. -----
  845. [31] Does XBoard run on VMS?
  846.  
  847. No.  But please send mail to info-gnu-chess@prep.ai.mit.edu if you port
  848. XBoard to VMS!
  849.  
  850. -----
  851. ** End of GNU Chess FAQ **
  852.